package com.example.securitydemo.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("t_role")
public class Role extends Model<Role> {

    @TableId(type = IdType.AUTO)
    private long id;

    private String roleName;

    private String remark;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
